﻿using RearLivestock.Common.Domains.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Dtos
{
    /// <summary>
    /// 分娩提示Dto
    /// </summary>
    public class DeliveryTipsDto
    {

        /// <summary>
        /// 猪只耳号
        /// </summary>
        public int BasicInforId { get; set; }
        /// <summary>
        /// 妊娠天数
        /// </summary>
        public int PregnancyDay { get; set; }

        /// <summary>
        /// 栋舍id
        /// </summary>
        public int BedroomId { get; set; }

        /// <summary>
        /// 栏位id
        /// </summary>
        public int FieldId { get; set; }
        /// <summary>
        /// 配种id(配种时间)
        /// </summary>
        public int PigsBreedingId { get; set; }
        /// <summary>
        /// 预产日期
        /// </summary>
        public DateTime ProductionDate { get; set; }

        /// <summary>
        /// 类型 0-不提示；1-提示
        /// </summary>
        public string Prompt { get; set; } 
        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string BedroomName { get; set; }
        /// <summary>
        /// 栏位名称
        /// </summary>=
        public string FieldName { get; set; }
        /// <summary>
        /// 上一次配种的日期
        /// </summary>
        public DateTime LastBreedingDate { get; set; }
        /// <summary>
        /// 繁殖状态枚举
        /// </summary>
        public ReproductivestatusEnums Reproductivestatus { get; set; }
        /// <summary>
        /// 是否妊检 1-没有妊检 2-妊检
        /// </summary>
        public int IsPrenatalCheckup { get; set; }
        /// <summary>
        /// 种母妊检ID
        /// </summary>
        public int PrenatalCheckupId { get; set; }
        /// <summary>
        /// 妊检日期
        /// </summary>
        public DateTime? PregnancyTestDate { get; set; }
        /// <summary>
        /// 母猪分娩id
        /// </summary>
        public int FarrowingId { get; set; }
        /// <summary>
        /// 分娩日期
        /// </summary>
        public DateTime FarrowingDate { get; set; } = DateTime.Now;
    }
}
